/*
* Conditions Of Use
*
* This software was developed by employees of the Sigmatrix(Beijing) Corporation.
* This software is provided by sigmatrix as a service and is expressly
* provided "AS IS."  Sigmatrix MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED
* OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT
* AND DATA ACCURACY.  Sigmatrix does not warrant or make any representations
* regarding the use of the software or the results thereof, including but
* not limited to the correctness, accuracy, reliability or usefulness of
* the software.
*
* Permission to use this software is contingent upon your acceptance
* of the terms of this agreement.
*
*/
package com.sigmatrix.h5.web.vo;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import com.sigmatrix.h5.request.Request;

import io.swagger.annotations.ApiModelProperty;

/**
 *@ClassName: PackBoxStackVo
 *@Description: 拆组箱/垛上传接口参数
 *@author youjun
 *@date 2017年8月17日 下午9:23:42
 */
public class PackBoxStackVo extends Request {

	/**
	 *@Fields serialVersionUID : TODO()
	 */
	private static final long serialVersionUID = 7883124163575818755L;

	@ApiModelProperty(value="工单号")
	@NotBlank(message="工单号不能为空")
	private String workOrder;
	
	@ApiModelProperty(value="产品ID")
	@NotNull(message="产品ID不能为空")
	private Integer productId;
	
	@ApiModelProperty(value="仓库ID")
	@NotNull(message="仓库ID不能为空")
	private Integer warehouseId;
	
	@ApiModelProperty(value="拆或组的对象码")
	@NotBlank(message="拆或组的对象码不能为空")
	private String code;
	
	@ApiModelProperty(value="操作码数组,逗号分隔")
	@NotBlank(message="操作码不能为空")
	private String operateCodes;
	
	@ApiModelProperty(value="操作类型,1、组/补箱操作 2:拆箱 3:组/补垛 4:拆垛  5:新增垛")
	@NotNull(message="操作类型不能为空")
	private Integer operationType;
	
	@ApiModelProperty(value="终端id")
	private Integer terminalId;

	/**
	 *@return the workOrder
	 */
	public String getWorkOrder() {
		return workOrder;
	}

	/**
	 *@return the productId
	 */
	public Integer getProductId() {
		return productId;
	}

	/**
	 *@return the warehouseId
	 */
	public Integer getWarehouseId() {
		return warehouseId;
	}

	/**
	 *@return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 *@return the operateCodes
	 */
	public String getOperateCodes() {
		return operateCodes;
	}

	/**
	 *@return the operationType
	 */
	public Integer getOperationType() {
		return operationType;
	}

	/**
	 *@param workOrder the workOrder to set
	 */
	public void setWorkOrder(String workOrder) {
		this.workOrder = workOrder;
	}

	/**
	 *@param productId the productId to set
	 */
	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	/**
	 *@param warehouseId the warehouseId to set
	 */
	public void setWarehouseId(Integer warehouseId) {
		this.warehouseId = warehouseId;
	}

	/**
	 *@param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 *@param operateCodes the operateCodes to set
	 */
	public void setOperateCodes(String operateCodes) {
		this.operateCodes = operateCodes;
	}

	/**
	 *@param operationType the operationType to set
	 */
	public void setOperationType(Integer operationType) {
		this.operationType = operationType;
	}

	/**
	 *@return the terminalId
	 */
	public Integer getTerminalId() {
		return terminalId;
	}

	/**
	 *@param terminalId the terminalId to set
	 */
	public void setTerminalId(Integer terminalId) {
		this.terminalId = terminalId;
	}
	
	
}
